#encoding=utf-8
#from django.db import models


# Create your models here.

#class NewsItem(models.Model):
	#title = models.CharField(max_length=50)
	#publisher = models.CharField(max_length=50)
	#description = models.CharField(max_length=1000)
	#link = models.CharField(max_length=255)
	#date = models.DateField()

from google.appengine.ext import db

class NewsItem(db.Model):
	title = db.StringProperty(required=True, multiline=True)
	publisher = db.StringProperty(required=True, multiline=False)
	description = db.TextProperty(required=True)
	link = db.StringProperty(required=True, multiline=False)
	date = db.DateTimeProperty(required=True)
	category = db.StringProperty() 
	site = db.StringProperty()
